universal_c210: check the NULL pointer when get the PMIC
authorMinkyu Kang <[email protected]>
Mon, 10 Dec 2012 13:43:57 +0000 (22:43 +0900)
committerMinkyu Kang <[email protected]>
Tue, 11 Dec 2012 08:37:28 +0000 (17:37 +0900)
commitfbef8e6e7f1233ed20f8c5045e12c9cf31b43540
treea7ca3a4084d7e250d0c159f4c3c81977091ad948
parent211e8438cf61df1e2a53b6b979a8e4224158d5dc
universal_c210: check the NULL pointer when get the PMIC

PMIC 2.0 require to test return pointer from pmic_get()

Signed-off-by: Minkyu Kang <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Acked-by: Lukasz Majewski <[email protected]>
board/samsung/universal_c210/universal.c